package com.mioto.ld.communication.websocket.resolver;

import com.mioto.ld.communication.websocket.model.WsRecMessage;
import io.netty.channel.ChannelHandlerContext;

/**
 * @author mioto-qinxj
 * @date 2024/5/16
 * @desc
 */
public interface WsMessageResolver {

    /**
     * 对接收的websocket消息进行处理
     * @param channelHandlerContext
     * @param message
     */
    void resolve(ChannelHandlerContext channelHandlerContext, WsRecMessage message);
}
